package cn.edu.hunau.service;


import cn.edu.hunau.pojo.Address;
import cn.edu.hunau.pojo.Car;
import cn.edu.hunau.pojo.Order;
import cn.edu.hunau.pojo.User;

import java.util.List;

/**
 * @Author 苏佳
 * @Date 2022
 **/
public interface OrderService {
    public Order createOrder(User user, Car car);

    void payOrder(String oid, Address address);

    List<Order> loadOrder(int uid);

    void removeOrder(String oid);

    int countByOstate(int uid,String ostate);
}
